package com.neusoft.training.podcast.service;

import java.util.List;


import com.neusoft.training.podcast.entity.Category;

public interface CategoryService {

	//插入新的分类
	void addCategory(String categoryName,String type);
	
	//删除分类
	void deleteCategory(Integer categoryID);
	
	//显示所有分类
	List<Category> findAllCategories();
	
	String findCategoryByID(Integer categoryID);
	
	//后端逻辑添加 author llx
		List<Category> findFavouriteCategories(Integer userID);
		
		List<Category> findPersonVideoCategory(Integer userID);
		
		List<Category> findCommentVideoCategory(Integer userID);
		
		Category findCategoryName(Integer categoryID);
	
}
